IncomingAttachmentElement

class IncomingAttachmentElement : IncomingChatElement, AttachmentElementModel

A chat element representing an incoming file attachment (image, document, video, etc.).

IncomingAttachmentElement is delivered when a file is received in the conversation. Access the file metadata and data through the attachments list.

Properties

Link copied to clipboard
open override val attachments: List<DownloadableFile>

The files attached to the message.

Link copied to clipboard
open override var id: String

Unique identifier of the element.

Link copied to clipboard
Link copied to clipboard
@get:JvmName(name = "status")
var status: Int

The delivery status of the message. One of the StatementStatus constants.

Link copied to clipboard
open override var text: String

The text content of the element.

Link copied to clipboard
open override var timestamp: Long

Time the element was created, in milliseconds since the epoch.

Functions

Link copied to clipboard
open override fun getStatus(): Int

Returns status.